<?php
class Pageley_Controller_Action_Commit implements Pageley_Controller_Action {
    
    private $unitOfWork;
    
    public function __construct($unitOfWork) {
        $this->unitOfWork = $unitOfWork;
    }
    
    public function execute() { 
        $this->unitOfWork->commit();
    }
}